package com.lemon.cloud.datascope.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @ClassName DataPermission
 * @Description 数据权限方式一：注解式
 * @Author HuangDS
 * @Date 2022/4/2 14:54
 **/
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface DataScope {

    String type() default "";

    DataColumn[] value() default {};
}
